qualcommax: ipq50xx: correct assigned cmn pll clock rate
authorGeorge Moussalem <george.moussalem@outlook.com>
Wed, 7 Jan 2026 14:31:15 +0000 (18:31 +0400)
committerRobert Marko <robimarko@gmail.com>
Thu, 8 Jan 2026 09:41:36 +0000 (10:41 +0100)
commitd6ab889e45107bf525ba43c793749bc702fe67e3
treec40d095c6672b8edf9d3230466ef52bc527cd2a0
parentfdce6f99be08eada76eafcb7172701010ad4a859
qualcommax: ipq50xx: correct assigned cmn pll clock rate

In IPQ5018, the reference clock to the CMN PLL block from the on-board
Wi-Fi has its divider set to 2. This divider wasn't taken into
consideration when calculating the CMN PLL clock rate which meant the
resulting clock rate was doubled.

With the reference clock divider being accounted for in the driver,
correct the assigned clock rate to 4.8GHz.

Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/21453
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/qualcommax/patches-6.12/0190-clk-qcom-cmnpll-Account-for-reference-clock-divider.patch [new file with mode: 0644]
target/linux/qualcommax/patches-6.12/0818-arm64-dts-qcom-ipq5018-fix-assigned-cmn-pll-clock-rate.patch [new file with mode: 0644]